package gmail.pyanoveugen.studyproject.dao;

import gmail.pyanoveugen.studyproject.bean.BaseBean;

import java.sql.SQLException;
import java.util.List;

/**
 */
public interface ISimpleDao<T extends BaseBean> {

    T find(int id);
    List<T> find(T obj);
    List<T> find() throws SQLException;

    T save(T obj);
    T remove(int id);

}
